package vip.kqsy.cloud.blog.server.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class BlogInfoAddDTO {
    @ApiModelProperty(value = "标题", required = true)
    @NotBlank
    private String title;

    @ApiModelProperty(value = "内容", required = true)
    @NotBlank
    private String content;
}
